package com.zhangpu.feign.inteface;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: zhangpu
 * @License: (C) Copyright hualala.com Corporation Limited.
 * @Contact: zhangpu@hualala.com
 * @Date: 2021.07.19 19:42
 * @Version: 1.0
 * @Description:
 * @ProjectName: spring-cloud-eureka
 */

@FeignClient("SPRING-CLOUD-PRODUCER")
public interface IFeignService {

    @GetMapping(value = "/hi/{name}")
    String getSpringCloudInfo(@PathVariable("name") String name);
}